package com.heima.mapper;

import com.heima.pojo.vo.BusinessTypeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BusinessMapper {

    /**
     * 查询所有的business
     */
    @Select("select * from tb_business")
    List<BusinessTypeVo> queryAllBusiness();
}
